home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Heaven
/
Business Heaven.iso
/
network
/
nouveau
/
instpf.bat
< prev
next >
Wrap
DOS Batch File
|
1991-08-14
|
2KB
|
70 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C
echo is designated as "C:", not "C". Make absolutely sure that you have desig-
echo nated your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md popform
cd\popform
echo Copying files...
if exist upgrd.exe erase upgrd.exe
copy %1pfrm.exe
cls
if exist %1upgrd.exe copy %1upgrd.exe
:SKIPMISC
if exist upgrd.com erase upgrd.com
if exist pf.exe erase pf.exe
if exist pf.hlp erase pf.hlp
if exist pf.doc erase pf.doc
if exist label.frm erase label.frm
if exist rprtcard.frm erase rprtcard.frm
if exist letter.frm erase letter.frm
if exist check.frm erase check.frm
if exist testdata erase testdata
if exist formed.exe erase formed.exe
pfrm
erase pfrm.exe
upgrd %2
erase upgrd.*
cls
echo The instructions must be printed.
echo .
echo .
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 40 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
type PF.DOC >prn
:SKIPPRINT
cls
echo .
echo PopForm is now installed on your hard disk in the POPFORM directory. To
echo access the program, do the following:
echo .
echo 1) enter "%2" at the prompt (this logs you onto drive %2);
echo 2) enter "CD\POPFORM" at the prompt ("CD" means "Change Dirctory");
echo 3) enter "PF" at the prompt.
echo .
echo .
cd %1\
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: B:INSTPFRM B: C: will install PopForm from drive B to drive C:
echo .
echo PLEASE TRY AGAIN
:END